continue_hypercall_on_cpu() always defers execution of the continuation
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 15 Apr 2010 10:31:58 +0000 (11:31 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 15 Apr 2010 10:31:58 +0000 (11:31 +0100)
commitdcc9060e4a4a7bb6287ca346580529c8d803c780
treea0d40c47649c61261fa9e6caca0f207fa4c7cb38
parente6baf56c8c02cd129dd1d043aab9183efaed2ef1
continue_hypercall_on_cpu() always defers execution of the continuation

...even when scheduled to run on the current physical cpu. This
ensures that locks get dropped correctly before executing the
continuation code, and also allows the original caller to determine
whether the continuation has/will execute based on c_h_o_c()'s
immediate return code.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/domain.c
xen/include/xen/domain.h